Arrow keys / Click to navigate

Cloud Operations on AWS

Module 8: Automate Scaling

Cloud Operations on AWS

Module Overview

Benefits of Scaling on Demand

Configuring EC2 Auto Scaling

1

Create a launch template (AMI, instance type, security group, key pair)

2

Create an Auto Scaling group

3

Select and configure the scaling policy

Dynamic Scaling Policy Types

PolicyBehavior
Simple scalingCycles through cooldown before responding to new alarms
Step scalingResponds to additional alarms as they occur — recommended
Target trackingSelect a metric and target value; EC2 manages the rest
Predictive scalingForecasts load from history and schedules capacity ahead

Avoiding Thrashing

Spot Instances & Spot Fleets

AWS License Manager

Troubleshooting Scenario

Issue: Error: "AMI <AMI ID> is pending, and cannot be run."

Cause: The newly created AMI might not be available yet.

Solution: Wait for the AMI to become available, then create the launch template.

Module Summary

Next: Module 9 — Monitor and Maintain System Health

Module 8 Mind Map

Click branch to expand